package com.google.gwt.it2tool.client;

import java.io.Serializable;

public class ProductionPrototype implements Serializable {
	
	private String name;
	private double productivity;
	private double duration;
	
	public ProductionPrototype(){
	}
	
	public ProductionPrototype(String name, double productivity, double duration) {
		this.name = name;
		this.duration = duration;
		this.productivity = productivity;
	}
	
	public ProductionPrototype(Production prod){
		name = prod.getName();
		duration = prod.getDuration();
		productivity =prod.getProductivity();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getProductivity() {
		return productivity;
	}

	public void setProductivity(double productivity) {
		this.productivity = productivity;
	}

	public double getDuration() {
		return duration;
	}

	public void setDuration(double duration) {
		this.duration = duration;
	}
	
	
}
